/*
 * Copyright TLR Team, Inc. All Rights Reserved.
 */
package com.tfb.service.utility;

public interface AppConst {
    String APP_ID = "wxd307b3990c2c5d7d";
    int COUNTER = 3;
    int POSITION_TYPE = 7;
    int EBAN_POINT_TYPE = 8;
    String USER_OPEN_ID = "authenticated_user_token";
    String TARGET_NAME = "target_name";
    String USER_DB_ID = "user_id";
    String USER_BASE_INFO_GET = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=%s&openid=%s&lang=zh_CN";
    String GET_CLIENT_CRED_TOKEN = "https://api.weixin.qq.com/cgi-bin/token?appid=wxd307b3990c2c5d7d&secret=c57f79fef1b403a29d6ca44270a6493b&grant_type=client_credential";
    String GET_CODE_ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=wxd307b3990c2c5d7d&secret=c57f79fef1b403a29d6ca44270a6493b&code=%s&grant_type=authorization_code";
    String TEST_COMPANY_TOKEN = "91486145-9ce7-4b93-abcc-6d36234d2b71201512913564811";
    String AIR_MEASURE_DEVICE_LIST = "http://api.yihuxi.com.cn/DeviceList?CompanyToken=%s";
    String AIR_MEASURE_DEVICE_LIST_DATA = "http://api.yihuxi.com.cn/DeviceData?CompanyToken=%s&DeviceMac=%s&DataType=%s";
    String AIR_MEASURE_DEVICE_HISTORY_DAY = "http://api.yihuxi.com.cn/DeviceHistoryData_Day?CompanyToken=%s&DeviceMac=%s&DataType=%s";
    String AIR_MEASURE_DEVICE_HISTORY_HOUR = "http://api.yihuxi.com.cn/DeviceHistoryData_Hour?CompanyToken=%s&DeviceMac=%s&DataType=%s";

    String EBAN_DEFAULT_USER = "eban.default.bind.user.mobile";
    String EBAN_DEFAULT_PWD = "eban.default.bind.user.password";
    String EBAN_LOG_ON = "http://napi.9eban.com/user/login?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&name=%s&password=%s";
    String EBAN_LOG_OFF = "http://napi.9eban.com/user/logout?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&header[token]=%s";
    String EBAN_DAY_REST = "http://napi.9eban.com/day/rest?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&date=%s";
    String EBAN_DMESSAGE = "http://napi.9eban.com/day/dmassege?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&date=%s";
    String EBAN_SDAY_REST = "http://napi.9eban.com/day/SdayRest?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&date=%s";
    String EBAN_TRACK = "http://napi.9eban.com/position/track?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&date=%s";
    String EBAN_QUERY = "http://napi.9eban.com/position/query?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&date=%s";
    String EBAN_ADD_RELATION = "http://napi.9eban.com/relation/add?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&name=%s&mobile=%s&age=1&gender=0&relation=1&alarm=1&remark=1&email=tlr@tbf.com&address=shanghai";
    String EBAN_DEL_RELATION = "http://napi.9eban.com/relation/del?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&id=%s";
    String EBAN_RELATIONS = "http://napi.9eban.com/relation/list?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s";
    String EBAN_OPENID_LOGIN = "http://napi.9eban.com/user/login?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&unionid=%s&logintype=6";
    String EBAN_BIND_DEVICE = "http://napi.9eban.com/user/bound?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&name=%s&nickname=%s&height=0&weight=0&gender=m&mobile=11111111111&casehistory=a&birthday=2016-01-01";
    String EBAN_DEL_BIND = "http://napi.9eban.com/user/delBound?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s";
    // ****************************** Eban openapi 1.0 http://openapi.9eban.com/ 天乐融/tianlerong***************************************************************
    String EBAN_10_DAY_INFO = "http://napi.9eban.com/day/DayInfo?%s=8FBC51684EDD4BFDBD6B704ACB86AA9B7A4D6DD9C695474E8DC9954B7F1FE6E6&%s=%s&code=%s&date=%s";
    
    // *********************************************************************************************************************************************************

    String LOCATION_CARD_GROUP_ID = "location.card.group.id";
    String AIR_MEASURE_DEVICE_COMPANY_TOKEN = "air.measure.company.token";
    String HIKE_WEB_SOCKET_ADDRESS = "hike.websocket.address";
    String EBAN_WEB_SOCKET_ADDRESS = "eban.websocket.address";
    String HIKE_SERVER_REST = "hike.server.rest";
    String DOC_DOWNLOAD_DIR = "doc.download.dir";
    String PEER_SERVER_ADDRESS = "peer.notify.address";
    String TRANSCID = "2015122309305045212300";
    String DEVICE_SERVICE_URL = "http://183.230.40.157:8080/serviceportal/rest/location/slis?ecid=%s&msisdn=%s&transid=%s&token=%s";
    String SMS_SERVER_ADDRESS = "sms.server.address";
    String SMS_USER = "sms.user";
    String SMS_PASSWORD = "sms.pwd";
    String SMS_REGISTER_TEMPLATE = "sms.template.register";
    String FILE_UPLOAD_PATH = "file.upload.path";
    String FILE_SYNC_ADDRESS = "peer.sync.address";
    String AQI_API = "http://apis.baidu.com/heweather/weather/free?city=shanghai";
    String AQI_API_VER = "HeWeather data service 3.0";
    String AQI_API_KEY = "422589ff039a92ad5acaf759f5616360";
    String AQI_API_HEADER = "apikey";

}
